package com.bigshen.demo.project.entity.lifecycle;

public class Car {

    public Car() {
        System.out.println("car 构造方法初始化");
    }

    public void addOil() {
        System.out.println("car 行驶前加油！");
    }

    public void run() {
        System.out.println("car is driving！");
    }

    public void release() {
        System.out.println("car 行驶后熄火！");
    }

}
